/***************************************************************
 * Name:      BootCDCheckerApp.h
 * Purpose:   Defines Application Class
 * Author:    Yang Bo (bob.yang.dev@gmail.com)
 * Created:   2011-02-23
 * Copyright: Yang Bo ()
 * License:
 **************************************************************/

#ifndef BOOTCDCHECKERAPP_H
#define BOOTCDCHECKERAPP_H

#include <wx/app.h>
#include <wx/msgdlg.h>
#include <wx/string.h>

class BootCDCheckerApp : public wxApp
{
    public:
        virtual bool OnInit();
};

extern BootCDCheckerApp& wxGetApp();

inline void debug(const wxString& msg)
{
	wxString info;
	info.Printf(_T("debug: %s\n"), msg.c_str());
	wxMessageDialog dialog2(NULL, info, _T("Debug Info"));
	dialog2.ShowModal();
}
#endif // BOOTCDCHECKERAPP_H
